package com.hejia.alauda.entity;

import java.math.BigDecimal;

import javax.persistence.Column;

public class FinancingIncomeRule extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3956451273834228316L;
	
	@Column
	private Financing financing;
	
	@Column
	private int holdingTime;
	
	@Column
	private BigDecimal interestRate;
	
	@Column
	private String dueDate;
	
	@Column
	private String redemptionStartTime;
	
	@Column
	private String redemptionEndTime;
	
	@Column
	private int stage; //阶段
	
	@Column
	private boolean last; //是否最后一个阶段


	public Financing getFinancing() {
		return financing;
	}

	public void setFinancing(Financing financing) {
		this.financing = financing;
	}

	public int getHoldingTime() {
		return holdingTime;
	}

	public void setHoldingTime(int holdingTime) {
		this.holdingTime = holdingTime;
	}

	public BigDecimal getInterestRate() {
		return interestRate;
	}

	public void setInterestRate(BigDecimal interestRate) {
		this.interestRate = interestRate;
	}

	public String getDueDate() {
		return dueDate;
	}

	public void setDueDate(String dueDate) {
		this.dueDate = dueDate;
	}

	public String getRedemptionStartTime() {
		return redemptionStartTime;
	}

	public void setRedemptionStartTime(String redemptionStartTime) {
		this.redemptionStartTime = redemptionStartTime;
	}

	public String getRedemptionEndTime() {
		return redemptionEndTime;
	}

	public void setRedemptionEndTime(String redemptionEndTime) {
		this.redemptionEndTime = redemptionEndTime;
	}

	public int getStage() {
		return stage;
	}

	public void setStage(int stage) {
		this.stage = stage;
	}

	public boolean isLast() {
		return last;
	}

	public void setLast(boolean last) {
		this.last = last;
	}
}
